<%-- $RCSFile: EditPortal.aspx $
 Apache license v2 2011 by Christian Surieux
 $Source: ?/AddonNice/PageModules/PortalsAdmin/EditPortal.aspx $
 $log$
 Revision 6 2010/08/09 10:51:22  christian.surieux
   Added Log comment to all .aspx .ascx .master files
 --%>
<%@ Page language="c#" AutoEventWireup="False" Inherits="AddonNice.PageModules.PortalsAdmin.EditPortal" Codebehind="EditPortal.aspx.cs" MasterPageFile="~/MasterPages/ADNProperties.Master"%>
<%@ Register Assembly="Telerik.Web.UI"    Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<%@ Register TagPrefix="cc1" Namespace="AddonNice.Configuration" Assembly="ADNCRM.Core" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentTitle" runat='server' >
    <asp:Literal Text="<%$ Resources:ADNCRM,EDIT_PORTAL %>" runat="server" id="Literal1" />
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolderButtons2" runat='server'>
    <asp:PlaceHolder ID="PlaceHolderButtons2" runat="server" />
</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="ContentSettingsTable" runat="server">
    <Telerik:radformdecorator id="FormDecorator1" runat="server" decoratedcontrols="CheckBoxes" />
    <asp:ScriptManagerProxy ID="ScriptManagerProxyEditPortal" runat="server" />
    <table cellspacing="1" cellpadding="2" border="0" width="100%">
        <tr>
            <td style="width:140px">
                <asp:Literal Text="<%$ Resources:ADNCRM,AM_PORTALID %>" runat="server" ID="Literal2" />
            </td>
            <td>
                <asp:Label ID="PortalIDField" runat="server" />
            </td>
            <td>
            </td>
        </tr>
        <tr>
            <td style="width:140px">
                <asp:Literal Text="<%$ Resources:ADNCRM,AM_SITETITLE %>" runat="server" ID="Literal3" />
            </td>
            <td>
                <asp:TextBox ID="TitleField" runat="server" style='width:350px;' />
            </td>
            <td>
                <asp:RequiredFieldValidator ID="RequiredTitle" runat="server" ErrorMessage="Required Field" ControlToValidate="TitleField" />
            </td>
        </tr>
        <tr>
            <td style="width:140px">
                <asp:Literal ID="Literal4" Text="<%$ Resources:ADNCRM,AM_PORTALALIAS %>" runat="server" />
            </td>
            <td>
                <asp:TextBox ID="TbAlias" runat="server" style='width:350px;' />
            </td>
            <td>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="Required Field" ControlToValidate="TbAlias" />
            </td>
        </tr>
        <tr>
            <td style="width:140px">
                <asp:Literal ID="Literal6" Text="<%$ Resources:ADNCRM,AM_CRMSERVERURL %>" runat="server" />
            </td>
            <td>
                <asp:TextBox ID="TbCrmServer" runat="server" style='width:350px;' />
            </td>
            <td>
            </td>
        </tr>
        <tr>
            <td style="width:140px">
                <asp:Literal ID="Literal7" Text="<%$ Resources:ADNCRM,AM_CRMORGANISATION %>" runat="server" />
            </td>
            <td>
                <asp:TextBox ID="TbCrmOrganization" runat="server" style='width:350px;' />
            </td>
            <td>
            </td>
        </tr>
        <tr>
            <td style="width:140px">
                <asp:Literal ID="Literal8" Text="<%$ Resources:ADNCRM,AM_PORTALTYPE %>" runat="server" />
            </td>
            <td>
                <asp:CheckBoxList id='CbType' RepeatColumns='1' RepeatDirection="Vertical" runat="server" style='width:350px;' >
                <asp:ListItem Text="<%$ Resources:ADNCRM,AM_PORTAL_MULTICRM %>" Selected="False" Value='1' />
                <asp:ListItem Text="<%$ Resources:ADNCRM,AM_PORTAL_MULTIORGANIZATION %>" Selected="False" Value='2' />
                </asp:CheckBoxList>
            </td>
            <td>
            </td>
        </tr>
        <tr>
            <td style="width:140px">
                <asp:Literal Text="<%$ Resources:ADNCRM,AM_SITEPATH %>" runat="server" ID="Literal5" />
            </td>
            <td>
                <asp:Label ID="PathField" runat="server" />
            </td>
            <td>
            </td>
        </tr>
		<tr>
		    <td colspan='3'>
				<asp:Label ID="ErrorMessage" CssClass="Error" runat="server" Visible="false" />
		    </td>
		</tr>
    </table>
    <cc1:SettingsTable ID="EditTable"  TableType="Portal"  width='100%' runat="server" />
    <telerik:RadAjaxManagerProxy ID="RadAjaxManagerProxy1" runat="server">
        <AjaxSettings>
            <telerik:AjaxSetting AjaxControlID="EditTable">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="EditTable" />
                </UpdatedControls>
            </telerik:AjaxSetting>
        </AjaxSettings>
    </telerik:RadAjaxManagerProxy>
</asp:Content>

<asp:Content ID="Content4" ContentPlaceHolderID="ContentPlaceHolderButtons1" runat="server">
    <br />
    <asp:PlaceHolder ID="PlaceHolderButtons" runat="server" />
</asp:Content> 